<?php
/**
 * Isu model
 * @author: NguyenTT
 */
class Plun_Model_Isu
{
    /**
     * Insert isu
     * @param $params
     * @return 
     */
    public static function insertIsu($params)
    {
        try {
            return Plun_Business_Isu::insertIsu($params);
        } catch (Exception $e) {
            throw new Plun_Exception($e->getMessage(), $e->getCode());
        }
    }

    /**
     * Update isu
     * @param $params
     * @return
     */
    public static function updateIsu($params)
    {
        try {
            return Plun_Business_Isu::updateIsu($params);
        } catch (Exception $e) {
            throw new Plun_Exception($e->getMessage(), $e->getCode());
        }
    }

    /**
     * Delete isu
     * @param $params
     * @return
     */
    public static function deleteIsu($params)
    {
        try {
            return Plun_Business_Isu::deleteIsu($params);
        } catch (Exception $e) {
            throw new Plun_Exception($e->getMessage(), $e->getCode());
        }
    }

    /**
     * Get isu detail
     * @param $params
     * @return array
     */
    public static function getIsuDetail($params)
    {
        try {
            return Plun_Business_Isu::getIsuDetail($params);
        } catch (Exception $e) {
            throw new Plun_Exception($e->getMessage(), $e->getCode());
        }
    }

    
}
